﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Index.Master" AutoEventWireup="true" CodeBehind="sharein.aspx.cs" Inherits="Web.group.sharein" %>
<%@ Register Src="~/controls/message.ascx" TagName="message" TagPrefix="uc" %>
<%@ Register Src="~/Controls/GVPageManager.ascx" TagPrefix="ui" TagName="gv" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <form id="form1" runat="server">
        <div class="content-box">
            <!-- Start Content Box -->
            <div class="content-box-header">
                <h3>
                    集团共享-它集团至本集团</h3>
                <ul class="content-box-tabs">
                    <li><a id="a_tab1" href="#tab1" class="default-tab">它集团共享通讯录</a></li>
                </ul>
                <div class="clear">
                </div>
            </div>
            <!-- End .content-box-header -->
            <div class="content-box-content">
                <div class="tab-content default-tab" id="tab1">
                    <uc:message ID="u_message" Visible="false" runat="server" />
                    <asp:GridView ID="GridView1" AutoGenerateColumns="False" runat="server"
                    DataKeyNames="phonebookid,phonebookname">
                        <Columns>
                            <asp:BoundField DataField="groupname" HeaderText="集团名称" SortExpression="groupname" />
                            <asp:TemplateField HeaderText="通讯录名称" SortExpression="phonebookname">
                                <ItemTemplate>
                                    <asp:HyperLink ID="HyperLink1" runat="server" NavigateUrl='<%#string.Format("~/group/shareinview.aspx?phonebookid={0}&phonebookname={1}", Eval("phonebookid"),Eval("phonebookname")) %>' 
                                    Text='<%#Eval("phonebookname")%>'></asp:HyperLink>
                                </ItemTemplate>
                            </asp:TemplateField>
                            <asp:BoundField DataField="phone" HeaderText="电话" />
                            <asp:BoundField DataField="fax" HeaderText="传真" />
                        </Columns>
                    </asp:GridView>
                    <ui:gv ID="GV" runat="server" />
                </div>
                <!-- End #tab1 -->
            </div>
            <!-- End .content-box-content -->
        </div>
    </form>
</asp:Content>
